<include file="Public/head" />
</head>

  <include file="Public/common_header" />
  <div class="mian">
    <include file="Public/sidebar" menu='cwgl.sk' />

    <div class="mianR">
            <h3 class="yonghu">收款</h3>
            <div class="yuyue">
                <ul>
                    <li class="yuCurrent">待收车款</li>
                    <li>核实车款</li>
                    <li>已收车款</li>
                </ul>
            </div>
            <div class="listBox">
                <div class="yuList">
                
                </div>
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>

<include file="Public/foot" />

<script>
  var Finance=(function(){
        function _post(post_data){
            var t = post_data.t;
            var url = (post_data.url==undefined?'/Finance/get_list':post_data.url);
            $.post(url,post_data,function(data){
                $('.listBox .yuList').html(data);
            });  
        }

        function _init(){
            $('.yuyue li').click(function(){
                _post({t:$(this).index()});
            });

            _post({t:0});
        }

        _init(); 

        function _get(t,p,la,s){
            _post({t:t,p:p,la:la,sk:s});
        }

        return {get:_get}       
  })();
</script>

<include file="Public/foot" />
